import Vue from 'vue';
import {
  Field,
  NavBar,
  Form,
  Button,
  Tabbar,
  TabbarItem,
  Icon,
  Tab,
  Tabs,
  Cell,
  List,
  PullRefresh,
  ActionSheet,
  Popup,
  Row,
  Col,
  Badge,
  Search,
  Toast,
  Image as VanImage,
  Divider,
  CellGroup,
  Tag,
  Dialog,
  DatetimePicker,
  Loading,
  Lazyload
} from 'vant';

Vue.use(Lazyload, {
  error: 'https://img2.baidu.com/it/u=1108679519,1956908025&fm=253&fmt=auto&app=138&f=JPEG?w=288&h=261' //懒加载图片失败，使用错误提示图片
});
Vue.use(Loading);
Vue.use(DatetimePicker)
Vue.use(Dialog)
Vue.use(CellGroup)
Vue.use(Tag)
Vue.use(Divider);
Vue.use(VanImage);
Vue.use(Toast);
Vue.use(Search);
Vue.use(Row);
Vue.use(Col);
Vue.use(Badge);
Vue.use(Popup);
Vue.use(ActionSheet);
Vue.use(PullRefresh);
Vue.use(List);
Vue.use(Cell);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Icon);
Vue.use(NavBar);
Vue.use(Form);
Vue.use(Field);
Vue.use(Button);
Vue.use(Tabbar);
Vue.use(TabbarItem);
